
import { defineStore } from 'pinia'
import {ref} from 'vue'
export const useCounterStore = defineStore('my', () => {
  let myData=ref({
    username:localStorage.getItem('username'),
    userphone:'18611676611',
    userimg:'https://fastly.jsdelivr.net/npm/@vant/assets/cat.jpeg'
  })

  return { myData }
},
 {
    persist: true,
  },
)